<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <%include("/app/resapi/style.html"){}%>
    <style type="text/css">
        #myTable tr td {
            vertical-align: middle;
        }

        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: hidden;">
<div class="page-body" style="padding: 0px;height: 100%;">
    <div class="main-container container-fluid" style="height: 100%;">
        <div class="page-container" style="height: 100%;">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px;height: 100%;">
                <div class="col-md-3 col-sm-3 col-xs-12" style="padding: 0px;height: 100%;">
                    <div class="widget" style="padding: 0px;height: 100%;">
                        <div class="widget-header bordered-bottom bordered-themeprimary">
                            <i class="widget-icon fa fa-tasks themeprimary"></i> <span class="widget-caption themeprimary">预算项目列表</span>
                        </div>
                        <!--Widget Header-->
                        <div class="widget-body" style="padding: 0px;height: 100%;overflow-y: auto;">
                            <ul id="tree" class="ztree"></ul>
                        </div>
                        <!--Widget Body-->
                    </div>
                </div>
                <div class="col-md-9 col-sm-9 col-xs-12" style="padding: 0px;height: 100%;overflow:auto;">
                    <div>
                        <div class="widget-body" style="padding:0px;">
                            <div class="widget-header bg-themeprimary">
                                <span class="widget-caption">项目详情</span>
                            </div>
                            <form class="form-horizontal">
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td width="20%">${i18n('system.sortNo')}：</td>
                                        <td width="30%" id="sortNo"></td>
                                        <td width="20%">项目类型：</td>
                                        <td width="30%" id="projectType"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目标题:</td>
                                        <td id="title"></td>
                                        <td width="20%">项目编号:</td>
                                        <td id="projectCode"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目负责人：</td>
                                        <td width="30%" id="chargeUser"></td>
                                        <td width="20%">预算总费用：</td>
                                        <td width="30%" id="totalCost"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目参与人：</td>
                                        <td width="30%" id="joinUser" colspan="2"></td>
                                        <td width="30%"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">项目周期：</td>
                                        <td width="80%" colspan="3"><span style="display: inline-block; margin-right: 10px" id="beginTime"></span>
                                            <span style="display: inline-block;">-</span>
                                            <span style="display: inline-block; margin-left: 10px" id="endTime"></span></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">资金出处：</td>
                                        <td width="30%" id="cashFrom"></td>
                                        <td width="20%">所属科目：</td>
                                        <td width="30%" id="budgetAccount"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">已支出预算：</td>
                                        <td id="paytotalcost" style="color: blue;font-weight: 500;font-size: 18px"></td>
                                        <td width="20%">剩余可用预算：</td>
                                        <td id="restotalcost" style="color: #53a93f;font-weight: 500;font-size: 18px"></td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                        <div class="widget-header bg-themeprimary">
                            <span class="widget-caption">预算费用支出明细</span>
                        </div>
                        <table id="myTable"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/budget/cost/dynamicsummary.js"></script>
</html>
